home *** CD-ROM | disk | FTP | other *** search
-
-
-
- UUUUMMMMAAAASSSSKKKK((((1111)))) UUUUMMMMAAAASSSSKKKK((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- umask - set file-creation mode mask
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- uuuummmmaaaasssskkkk [ ooo ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The user file-creation mode mask is set to _o_o_o. The three octal digits
- refer to read/write/execute permissions for _o_w_n_e_r, _g_r_o_u_p, and _o_t_h_e_r_s,
- respectively (see _c_h_m_o_d(2) and _u_m_a_s_k(2)). The value of each specified
- digit is subtracted from the corresponding ``digit'' specified by the
- system for the creation of a file (see _c_r_e_a_t(2)). For example, uuuummmmaaaasssskkkk 000022222222
- removes _g_r_o_u_p and _o_t_h_e_r_s write permission (files normally created with
- mode 777777777777 become mode 777755555555; files created with mode 666666666666 become mode 666644444444).
-
- If _o_o_o is omitted, the current value of the mask is printed.
-
- _u_m_a_s_k is recognized and executed by the shell.
-
- _u_m_a_s_k can be included in the user's ....pppprrrrooooffffiiiilllleeee or ....llllooooggggiiiinnnn file (see
- _p_r_o_f_i_l_e(4) and _c_s_h_r_c(4)) and invoked at login to automatically set the
- user's permissions on files or directories created. The default for all
- logins is set in ////eeeettttcccc////ddddeeeeffffaaaauuuulllltttt////llllooooggggiiiinnnn before the user's shell is started.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- chmod(1), sh(1), chmod(2), creat(2), umask(2), cshrc(4), profile(4)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-